home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Headers / gamekit / GKTypes.h < prev    next >
Text File  |  1995-06-12  |  369b  |  19 lines

  1. #import <appkit/appkit.h>
  2.  
  3. typedef int GKTrackerId;
  4.  
  5. // Other shapes besides NXRect that you can use for collision detection
  6. // shapes.
  7.  
  8. typedef struct _GKCircle {        /* circle */
  9.     NXPoint        center;
  10.     NXCoord        radius;
  11. } GKCircle;
  12.  
  13. typedef struct _GKTriangle {    /* triangle */
  14.     NXPoint    points[3];
  15. } GKTriangle;
  16.  
  17. typedef struct _GKVector { NXCoord x, y; } GKVector;
  18.  
  19.